// 此处封装与管理员交互得代码

import service from "@/utils/request"
// import { pa } from "element-plus/es/locale";

// 127.0.0:19090/system/sysUser/login
export function loginService(userAccount , password){
    return service({
        url:"/sysUser/login",
        method: "post",
        data: {userAccount,password}
    });
}
export function getUserInfoService() {
    return service({
        url: "/sysUser/info",
        method: "get",
    });
}

export function logoutService() {
return service({
    url: "/sysUser/logout",
    method: "delete",
});
}